package webEquipeRechercheGwt.client.services;

import webEquipeRechercheGwt.client.entityMirror.PaperMirror;
import webEquipeRechercheGwt.client.entityMirror.PersonMirror;
import webEquipeRechercheGwt.client.entityMirror.SeminarMirror;
import webEquipeRechercheGwt.client.entityMirror.SoftwareMirror;
import webEquipeRechercheGwt.client.entityMirror.TeamMirror;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("linkingService")
public interface LinkingService extends RemoteService {

	boolean linkPersonToTeam(PersonMirror p, TeamMirror t);
	
	boolean linkPersonToSeminar(PersonMirror p, SeminarMirror s);
	
	boolean linkPersonToSoftware(PersonMirror p, SoftwareMirror s);
	
	boolean linkPersonToPaper(PersonMirror p, PaperMirror paper);
}
